<?php
/**
 * Returns the instance given when binding
 */
class IOC_InstanceBinder implements IOC_Binder {
	private $instance;
	
	public function __construct($instance) {
		$this->instance = $instance;
	}

	/**
     * Gets an instance of the classname
     * @param $className
     * @return object
     */
	public function get($classname) {
		return $this->instance;
	}
}
?>